package com.zsrd.lessons.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zsrd.lessons.domain.TsLessonsHistory;
import com.zsrd.lessons.domain.dto.TsLessonsHistoryDto;

/**
 * <p>
 * 课程访问历史表 服务类
 * </p>
 *
 * @author Chen Wei
 * @since 2022-07-11
 */
public interface TsLessonsHistoryService extends IService<TsLessonsHistory> {

    void readLessons(String loginId, Long id);

    IPage<TsLessonsHistoryDto> getReadPeopleList(Long id, Long current, Long size);

}
